#include <math.h>

float floorf(float x)
{
	float result;
	__asm__ __volatile__(
		"ffloor.s %0, %1\n\t"
		: "=f"(result)
		: "f"(x)
	);
	return result;
}